From: Debarshi Ray Date: Thu, 29 Nov 2012 18:17:51 +0000 (+0100) Subject: dbus: Add a read-only org.gnome.Shell.Mode property X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5344 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d4dc1c87c59fddd5f3c0279b547d8d4739cdfb7e;p=gnome-shell.git dbus: Add a read-only org.gnome.Shell.Mode property This is meant to expose the global.session_mode to applications such as the gnome-tweak-tool, which would need it to differentiate between the vanilla GNOME Shell mode and the fallback replacement mode. https://bugzilla.gnome.org/show_bug.cgi?id=689300 --- diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js index b4d896615..6b88baf25 100644 --- a/js/ui/shellDBus.js +++ b/js/ui/shellDBus.js @@ -46,6 +46,7 @@ const GnomeShellIface = + ; @@ -186,6 +187,8 @@ const GnomeShell = new Lang.Class({ flashspot.fire(); }, + Mode: global.session_mode, + get OverviewActive() { return Main.overview.visible; },